import React from 'react'
import { HashRouter as Router, Route, Switch } from "react-router-dom"

import Login from './login'
import Home from './home'


export default () => {

  return (
    <Router>
      <Switch>
        <Route exact path="/" component={Login} />
        <Route exact path="/home" component={Home} />
        <Route exact path="/table" component={Home} />
      </Switch>
    </Router>
  )
}